<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=basePath%>css/weui.css">
<link rel="stylesheet" href="<%=basePath%>css/example.css">
<title>Insert title here</title>
</head>
<body style="background-color: #179B16;">
	<div class="weui-toptips weui-toptips_warn js_tooltips" style="display: none;" id="errorTips">题目信息填写不完整</div>
	<br>
	<h2 style="text-align: center; color: #FFFFFF">多人答题</h2>

	<c:if test="${fn:length(questionList) eq 0}">
		<div class="weui-loadmore weui-loadmore_line">
            <span class="weui-loadmore__tips">暂无数据</span>
        </div>
    </c:if>

	<div class="weui-footer">
		<p class="weui-footer__links">
			<a href="<%=basePath%>index.do" class="weui-footer__link">realQuestion</a>
		</p>
		<p class="weui-footer__text">Copyright © 2018 question.realjinge.com</p>
	</div>
</body>

<script type="text/javascript">
	function countChar(textareaId, spanId) {
		document.getElementById(spanId).innerHTML = document.getElementById(textareaId).value.length;
	}

	function showErrorTips() {
		document.getElementById("errorTips").style.display = "inline";
		setTimeout(function() {
			document.getElementById("errorTips").style.display = "none";
		}, 2500);
	}
</script>

</html>